
using System.Windows;

namespace EveIntel.WpfApplication.Interfaces
{
    /// <summary>
    /// Views interface contract
    /// </summary>
    public interface IView
    {
        /// <summary>
        /// Obtains or defines the view datacontext
        /// </summary>
        object DataContext { get; set; }
        /// <summary>
        /// Closes the view
        /// </summary>
        void Close();
        /// <summary>
        /// Shows the view 
        /// </summary>
        /// <param name="owner"></param>
        bool? ShowDialog(Window owner);
        /// <summary>
        /// Obtains or defines the view Title
        /// </summary>
        string Title { get; set; }
    }
}